import Vue from 'vue'
import App from './App.vue'
import router from './router'
// import req from './utils/request.js'
//饿了么ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
//自设置样式
import './assets/css/reset.css'
import './assets/fonts/iconfont.css'
import './assets/css/index.less'

Vue.config.productionTip = false
Vue.use(ElementUI)
new Vue({
    router,
    render: h => h(App)
}).$mount('#app')

//测试代码
// getDate()
// async function getDate() {
//     const data = await req.get('/static/data.json', {
//         page: 1,
//         size: 99
//     })
//     console.log(data)
// }